<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.List, java.util.Map" %>
<%@ page import="com.fg.model.TestModel" %>


<%
Map resultMap = (Map)request.getAttribute("resultMap");
TestModel testModel = (TestModel)resultMap.get("testModel");
%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test page</title>

<link rel="stylesheet" type="text/css" media="all" href="/css/common.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>

</head>


<body>
<div class="container">
	test.action의 결과값!<br/>
	<%=testModel.getTest_seq() %><br/>
	<%=testModel.getEmail() %><br/>
	<%=testModel.getName() %><br/>
	<br/>
	<br/>
	이렇게 써도 똑같이 나와요!<br/>
	${resultMap.testModel.test_seq }<br/>
	${resultMap.testModel.email }<br/>
	${resultMap.testModel.name }<br/>
</div>

</body>
</html>